<!--
  This file is a part of the open-eBackup project.
  This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
  If a copy of the MPL was not distributed with this file, You can obtain one at
  http://mozilla.org/MPL/2.0/.
  
  Copyright (c) [2024] Huawei Technologies Co.,Ltd.
  
  THIS SOFTWARE IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OF ANY KIND,
  EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO NON-INFRINGEMENT,
  MERCHANTABILITY OR FIT FOR A PARTICULAR PURPOSE.
  -->


<!DOCTYPE html
  PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en-us" xml:lang="en-us">
<head>
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
   
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="DC.Type" content="topic">
<meta name="DC.Title" content="Enabling the gaussdb_feature_supportSyncBackupCrossSite_pcs-lite Whitelist">
<meta name="product" content="">
<meta name="DC.Relation" scheme="URI" content="en-us_topic_0000002164657742.html">
<meta name="prodname" content="">
<meta name="version" content="">
<meta name="brand" content="">
<meta name="DC.Publisher" content="20250306">
<meta name="prodname" content="csbs">
<meta name="documenttype" content="usermanual">
<meta name="DC.Format" content="XHTML">
<meta name="DC.Identifier" content="EN-US_TOPIC_0000002164817470">
<meta name="DC.Language" content="en-us">
<link rel="stylesheet" type="text/css" href="public_sys-resources/commonltr.css">
<title>Enabling the gaussdb_feature_supportSyncBackupCrossSite_pcs-lite Whitelist</title>
</head>
<body style="clear:both; padding-left:10px; padding-top:5px; padding-right:5px; padding-bottom:5px"><a name="EN-US_TOPIC_0000002164817470"></a><a name="EN-US_TOPIC_0000002164817470"></a>

<h1 class="topictitle1">Enabling the gaussdb_feature_supportSyncBackupCrossSite_pcs-lite Whitelist</h1>
<div><p>Before cross-project/TPOPS instance restoration, enable the <strong>gaussdb_feature_supportSyncBackupCrossSite_pcs-lite</strong> whitelist to ensure that the restoration function is normal.</p>
<div class="section"><h4 class="sectiontitle">Procedure</h4><ol><li><span>Use an SSH tool to log in to the active TPOPS server node as user <strong>root</strong> through the management IP address of the node.</span></li><li><span>On the TPOPS node, run the following command to log in to the TPOPS node as user <strong>dbadmin</strong>:</span><p><pre class="screen">su - dbadmin</pre>
</p></li><li><span>Run the following commands to connect to the TPOPS metadata database. The default password <strong>DBS_guass12#$</strong> is used as an example.</span><p><pre class="screen">source gauss_env_file
gsql -p 8635 -U core -W <em>DBS_guass12#$</em> -q core -h 127.0.0.1</pre>
</p></li><li><span>Run the following command to check whether the whitelist is enabled:</span><p><pre class="screen">select * from dbs_feature where id = 'gaussdb_feature_supportSyncBackupCrossSite_pcs-lite';</pre>
<p>If <strong>status</strong> is <strong>open</strong> in the command output, the whitelist is enabled. Otherwise, go to <a href="#EN-US_TOPIC_0000002164817470__li011811420158">5</a>.</p>
</p></li><li id="EN-US_TOPIC_0000002164817470__li011811420158"><a name="EN-US_TOPIC_0000002164817470__li011811420158"></a><a name="li011811420158"></a><span>Run the following command to enable the whitelist:</span><p><pre class="screen">update core.dbs_feature set status = 'open' where id = 'gaussdb_feature_supportSyncBackupCrossSite_pcs-lite';</pre>
</p></li></ol>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="en-us_topic_0000002164657742.html">FAQs</a></div>
</div>
</div>

<div class="hrcopyright"><hr size="2"></div><div class="hwcopyright">Copyright &copy; Huawei Technologies Co., Ltd.</div></body>
</html>